package com.lanou.service.impl;

import com.lanou.bean.Scrap;
import com.lanou.mapper.ScrapMapper;
import com.lanou.service.ScrapService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ScrapServiceImpl implements ScrapService{

    @Autowired
    private ScrapMapper scrapMapper;

    @Override
    public List<Scrap> getScrap() {
        return scrapMapper.getScrap();
    }
}
